package cn.project.lemontree.service;

import cn.project.lemontree.bean.Administrator;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface AdministratorService extends IService<Administrator> {
    Administrator login(String telephone);
    String importExcel(MultipartFile file,Integer classId) throws IOException;
    List<Administrator>listPage(Integer page,Integer size,String userName,String telephone);
    int count(String userName,String telephone);
    boolean save(Administrator administrator);
    boolean update(Administrator administrator);
}
